#ifndef  _UTILS_H_
#define  _UTILS_H_

int Hex2Char(unsigned int i,unsigned char * toc);
int Char2Hex(unsigned char c,unsigned int * toi);
int Bitstr2ByteArr(unsigned char * bs, unsigned char * ba);
int ByteArr2Bitstr(unsigned char * ba, unsigned char * bs);
int Int2ByteArr(unsigned int i, unsigned char * ba);
int ByteArr2Int(unsigned char * ba,unsigned int * i);


#endif
